// const zh=require('./zh.json')
// const en=require('./en.json')

// // 对比zh.json和en.json的key
// const zhKeys = Object.keys(zh)
// const enKeys = Object.keys(en)

// // 找出zh.json中没有的key
// const diffKeys = zhKeys.filter(key => !enKeys.includes(key))
// const obj={}
// // 拼接成对象 key:zh[key]
// diffKeys.forEach(item=>{

//     obj[item]=zh[item]

// })
// console.log(JSON.stringify(obj))

// const xlsx = require('xlsx');

// // 读取Excel文件
// function readExcel(filePath, sheetName) {
//     const workbook = xlsx.readFile(filePath);
//     const worksheet = workbook.Sheets[sheetName || workbook.SheetNames[0]];
//     return xlsx.utils.sheet_to_json(worksheet);
// }

// // 写入Excel文件
// function writeExcel(filePath, data, sheetName = 'Sheet1') {
//     const worksheet = xlsx.utils.json_to_sheet(data);
//     const workbook = xlsx.utils.book_new();
//     xlsx.utils.book_append_sheet(workbook, worksheet, sheetName);
//     xlsx.writeFile(workbook, filePath);
// }

// // 示例用法
// const data = readExcel('./1.xlsx', "2501牙刷插件");


// const arr = []

// data.forEach((row, index2) => {
//     arr.push(
//         {
//             key: row["key"],
//             zh: row["中文"],
//             en: row["英文"]
//         }
//     )
// })
// console.log(JSON.stringify(arr));


// const arr = [
//     {
//         "key": "hint_pair_fail_reasons_check_if_the_hotspot_is_enabled",
//         "zh": "请检查设备热点是否开启。",
//         "en": "Please check if the device hotspot is turned on."
//     },
//     {
//         "key": "hint_pair_fail_reasons_check_if_the_password_are_correct",
//         "zh": "请检查输入的热点名称与密码是否正确。",
//         "en": "Please check if the entered hotspot name and password are correct."
//     },
//     {
//         "key": "hint_pair_fail_reasons_check_if_the_latest_version",
//         "zh": "请检查MOVAhome APP是否为最新版本。",
//         "en": "Please check if the MOVAhome APP is the latest version."
//     },
//     {
//         "key": "text_reasons_for_network_configuration_failure",
//         "zh": "配网失败原因",
//         "en": "Reasons for network configuration failure"
//     },
//     {
//         "key": "text_usage_guide",
//         "zh": "使用引导",
//         "en": "Usage guide"
//     },
//     {
//         "key": "text_select_the_device_connection_method",
//         "zh": "选择设备连接方式",
//         "en": "Select the device connection method"
//     },
//     {
//         "key": "text_mobile_hotspot",
//         "zh": "手机热点",
//         "en": "Mobile hotspot"
//     },
//     {
//         "key": "text_wifi",
//         "zh": "Wi-Fi",
//         "en": "Wi-Fi"
//     },
//     {
//         "key": "text_use_when_using_public_wifi",
//         "zh": "适合没有Wi-Fi或 有公用Wi-Fi时使用",
//         "en": "Suitable for use when there is no Wi-Fi or when using public Wi-Fi."
//     },
//     {
//         "key": "text_use_when_home_wifi",
//         "zh": "适合有家用 Wi-Fi时使用",
//         "en": "Suitable for use when there is a home Wi-Fi."
//     },
//     {
//         "key": "text_view_name_and_password_of_the_mobile_hotspot",
//         "zh": "查看手机热点名称及密码",
//         "en": "View the name and password of the mobile hotspot."
//     },
//     {
//         "key": "text_explanation_of_supported_network_standards",
//         "zh": "设备仅支持连接2.4G热点，不支持5G热点",
//         "en": "The device only supports connecting to 2.4G hotspots and does not support 5G hotspots."
//     },
//     {
//         "key": "text_turn_on_the_mobile_hotspot",
//         "zh": "打开手机热点",
//         "en": "Turn on the mobile hotspot."
//     },
//     {
//         "key": "text_turn_on_the_personal_hotspot",
//         "zh": "点击下方“立即查看”，跳转到系统设置，点击“个人热点”",
//         "en": "Tap “View Now” below to jump to the system settings, and then tap “Personal Hotspot”."
//     },
//     {
//         "key": "text_remember_the_hotspot_password",
//         "zh": "记住“热点密码”",
//         "en": "Remember the \"hotspot password\""
//     },
//     {
//         "key": "text_check_immediately",
//         "zh": "立即查看",
//         "en": "Check immediately."
//     },
//     {
//         "key": "text_checked_next_step",
//         "zh": "已查看，下一步",
//         "en": "It has been checked. Next step."
//     },
//     {
//         "key": "text_set_up_a_hotspot",
//         "zh": "设置热点",
//         "en": "Set up a hotspot"
//     },
//     {
//         "key": "hint_only_configure_for_the_first_time",
//         "zh": "仅首次使用需配置，以后无需配置",
//         "en": "Configuration is only required for the first use, and no further configuration is needed afterwards."
//     },
//     {
//         "key": "hint_fill_hotspot_and_password",
//         "zh": "填写热点名称与密码",
//         "en": "Fill in the hotspot name and password"
//     },
//     {
//         "key": "hint_how_to_view_hotspot_and_password",
//         "zh": "如何查看热点及密码",
//         "en": "How to view the hotspot and its password"
//     },
//     {
//         "key": "text_immediately_connect_to_the_network",
//         "zh": "立即配网",
//         "en": "Immediately connect to the network"
//     },
//     {
//         "key": "text_add_a_test_stick",
//         "zh": "添加检测棒",
//         "en": "Add a test stick"
//     },
//     {
//         "key": "hint_check_toothbrush_is_already",
//         "zh": "电动牙刷已处于唤醒状态",
//         "en": "The electric toothbrush is already in the wake status."
//     },
//     {
//         "key": "hint_turn_on_the_device",
//         "zh": "开启设备",
//         "en": "Turn on the device"
//     },
//     {
//         "key": "text_powered_on",
//         "zh": "已开机",
//         "en": "Powered on"
//     },
//     {
//         "key": "hint_enter_hotspot_name",
//         "zh": "请输入热点名称",
//         "en": "Please enter the hotspot name"
//     },
//     {
//         "zh": "去牙刷设备页更新智能模式>>",
//         "en": "Go to Toothbrush Device Page to Update Smart Mode >>"
//     },
//     {
//         "zh": "根据每周清洁不足区域，智能加强清洁",
//         "en": "Enhance cleaning intelligently based on weekly under-cleaned areas"
//     },
//     {
//         "zh": "{num}处龋齿",
//         "en": "{num} cavities"
//     },
//     {
//         "zh": "龋齿",
//         "en": "Cavities"
//     },
//     {
//         "zh": "着色牙风险",
//         "en": "Tooth discoloration risk"
//     },
//     {
//         "zh": "建议至少每15天检测一次哦~",
//         "en": "It is recommended to perform a check at least once every 15 days~"
//     },
//     {
//         "zh": "立即检测>>",
//         "en": "Check Now >>"
//     },
//     {
//         "zh": "自动更新智能模式",
//         "en": "Auto-update Smart Mode"
//     },
//     {
//         "zh": "牙刷连接蓝牙后自动更新菌斑清洁智能模式",
//         "en": "Smart plaque cleaning mode will auto-update after the toothbrush connects via Bluetooth."
//     },
//     {
//         "zh": "您当前没有绑定的检测仪\n无法更新智能模式",
//         "en": "No detection device currently bound\nUnable to update smart mode"
//     },
//     {
//         "key": "go_to_detection",
//         "zh": "去绑定",
//         "en": "Go to Bind"
//     },
//     {
//         "zh": "您当前没有菌斑检测报告\n无法更新智能模式",
//         "en": "No plaque detection report available\nUnable to update smart mode"
//     },
//     {
//         "zh": "去检测",
//         "en": "Go to Detect"
//     },
//     {
//         "key": "guideStep5",
//         "zh": "更多设置",
//         "en": "More Settings"
//     },
//     {
//         "key": "guideStep5Content",
//         "zh": "点击进入可查看设备信息，进行个性化功能设置",
//         "en": "Tap the APP to view device information and customize features."
//     },
//     {
//         "key": "home",
//         "zh": "首页",
//         "en": "Home"
//     },
//     {
//         "key": "report",
//         "zh": "报告",
//         "en": "Report"
//     },
//     {
//         "key": "boneConductionNote",
//         "zh": "骨传导语音提醒",
//         "en": "Bone Conduction Voice Prompts"
//     },
//     {
//         "key": "boneConductionTips",
//         "zh": "刷牙过程中通过语音进行实时反馈和提醒",
//         "en": "Real-time feedback and reminder during teeth brushing"
//     },
//     {
//         "key": "boneConductionOnSum",
//         "zh": "{num}项开启",
//         "en": "{num} items enabled"
//     },
//     {
//         "key": "remindSetting",
//         "zh": "提醒设置",
//         "en": "Remind Settings"
//     },
//     {
//         "key": "modeSwitchRemind",
//         "zh": "模式切换提醒",
//         "en": "Mode Switching Remind"
//     },
//     {
//         "key": "modeSwitchRemindTips",
//         "zh": "切换模式时，语音提醒当前模式",
//         "en": "When switching modes, voice prompts will announce the current mode."
//     },
//     {
//         "key": "reminderForSwipingTooFast",
//         "zh": "横刷过快提醒",
//         "en": "Horizontal Brushing Reminder"
//     },
//     {
//         "key": "brushingTimeReminder",
//         "zh": "刷牙时长提醒",
//         "en": "Brushing Duration Reminder"
//     },
//     {
//         "key": "interconnection",
//         "zh": "互联",
//         "en": "Connectivity"
//     },
//     {
//         "key": "guideStep1Content",
//         "zh": "点击模式按钮切换刷牙模式，支持振动力度、扫动角度和速度10级调档",
//         "en": "Tap the mode button to switch brushing modes, which support 10 levels of adjustment for vibration intensity, sweeping angle, and speed."
//     },
//     {
//         "key": "guideStep2",
//         "zh": "智能模式",
//         "en": "Smart Mode"
//     },
//     {
//         "key": "guideStep2Content",
//         "zh": "根据菌斑检测结果，智能调整刷牙时长与菌斑较多区域的清洁参数",
//         "en": "Adjust brushing duration and cleaning parameters for areas with more plaque based on plaque detection results."
//     },
//     {
//         "key": "guideStep2Content_single",
//         "zh": "根据用户使用习惯，智能调整清洁参数",
//         "en": "Adjust cleaning parameters based on user habits."
//     },
//     {
//         "key": "guideStep3Content",
//         "zh": "点击当前区域进入「日报」「周报」 「月报」页面，了解更多口腔清洁习惯",
//         "en": "Tap the current area to enter the Daily, Weekly, and Monthly report pages to learn more about oral cleaning habits."
//     },
//     {
//         "key": "guideStep4",
//         "zh": "设备互联",
//         "en": "Device Connectivity"
//     },
//     {
//         "key": "guideStep4Content",
//         "zh": "添加检测仪完成，即可互联设备以使用智能模式等更多功能",
//         "en": "After completing the connection with the detector, you can use the smart mode and other functions."
//     },
//     {
//         "key": "plaqueDetectionStatus",
//         "zh": "菌斑检测情况",
//         "en": "Plaque Detection"
//     },
//     {
//         "key": "interconnection_page_user_is_no_detector_dialog_prompt",
//         "zh": "请先将牙菌斑检测仪连接APP",
//         "en": "Please connect the plaque detector to the APP first."
//     },
//     {
//         "key": "go_to_connect",
//         "zh": "前往连接",
//         "en": "Go to connect"
//     },
//     {
//         "key": "sure",
//         "zh": "确定",
//         "en": "Confirm"
//     },
//     {
//         "key": "prompt",
//         "zh": "提示",
//         "en": "Note"
//     },
//     {
//         "key": "agreePrivacyDialog",
//         "zh": "在您使用设备前，请您仔细阅读并了解《用户协议》和《隐私政策》，点击“同意”即表示您已阅读并同意全部条款。",
//         "en": "Before using the device, please read and understand the User Agreement and Privacy Policy. Tapping \"Agree\" indicates that you have read and agree to all terms."
//     },
//     {
//         "key": "licenseButton",
//         "zh": "用户协议",
//         "en": "User Agreement"
//     },
//     {
//         "key": "policyButton",
//         "zh": "隐私政策",
//         "en": "Privacy Policy"
//     },
//     {
//         "key": "month",
//         "zh": "月",
//         "en": "Month"
//     },
//     {
//         "key": "year",
//         "zh": "年",
//         "en": "Year"
//     },
//     {
//         "key": "aiModeTips",
//         "zh": "检测刷牙区域, AI算法调节各维度振动参数",
//         "en": "Detect brushing areas, adjust vibration strength intelligently"
//     },
//     {
//         "key": "soundAlertSwitch",
//         "zh": "音效提醒开关",
//         "en": "Sounds Reminder Switch"
//     },
//     {
//         "key": "minutes",
//         "zh": "分钟",
//         "en": "Minute(s)"
//     },
//     {
//         "key": "exit",
//         "zh": "退出",
//         "en": "Exit"
//     },
//     {
//         "key": "exclusiveMode",
//         "zh": "专属模式",
//         "en": "专属模式"
//     },
//     {
//         "key": "doorTip",
//         "zh": "内测快捷设置",
//         "en": "Beta Quick Settings"
//     },
//     {
//         "key": "BLEreseHeadTitle",
//         "zh": "解绑重置牙刷",
//         "en": "Unbind and Reset Toothbrush"
//     },
//     {
//         "key": "BLEreseHeadContent",
//         "zh": "请确保蓝牙连接状态下，点击解绑按钮以重置牙刷设备。",
//         "en": "Please ensure the Bluetooth connection is active. Tap the unbind button to reset the toothbrush device."
//     },
//     {
//         "key": "BLEreseHeadTips",
//         "zh": "重置后，牙刷将无法使用，如需重新使用，请重新绑定设备。",
//         "en": "After resetting, the toothbrush will be unusable. If you want to use it again, please rebind the device."
//     },
//     {
//         "key": "BLEreseHeadSuccess",
//         "zh": "解绑成功",
//         "en": "Unbind Successful"
//     },
//     {
//         "key": "BLEreseHeadFailed",
//         "zh": "解绑失败",
//         "en": "Unbind Failed"
//     },
//     {
//         "key": "BLEunconnect",
//         "zh": "蓝牙未连接，无法解绑",
//         "en": "Bluetooth is not connected; unable to unbind."
//     },
//     {
//         "key": "teethCleanlinessIndex",
//         "zh": "牙齿洁净指数",
//         "en": "Teeth Cleanliness Index"
//     },
//     {
//         "key": "unbind",
//         "zh": "解除关联",
//         "en": "Unlink the device"
//     },
//     {
//         "key": "focus",
//         "zh": "值得关注",
//         "en": "Attention"
//     },
//     {
//         "key": "excellent",
//         "zh": "优",
//         "en": "Excellent"
//     },
//     {
//         "key": "good",
//         "zh": "良",
//         "en": "Good"
//     },
//     {
//         "key": "medium",
//         "zh": "中",
//         "en": "Medium"
//     },
//     {
//         "key": "weeklySummary",
//         "zh": "周报总结",
//         "en": "Weekly Report Summary"
//     },
//     {
//         "key": "monthlySummary",
//         "zh": "月报总结",
//         "en": "Monthly Report Summary"
//     },
//     {
//         "key": "visitorInspectionReport",
//         "zh": "访客检测报告",
//         "en": "Guest Detection Report"
//     },
//     {
//         "key": "delete",
//         "zh": "删除",
//         "en": "Delete"
//     },
//     {
//         "key": "deleteReport",
//         "zh": "删除此报告",
//         "en": "Delete this report"
//     },
//     {
//         "key": "deleteReportTip",
//         "zh": "报告删除后将无法找回，确认删除？",
//         "en": "Deleting this report will make it unrecoverable. Are you sure to delete it?"
//     },
//     {
//         "key": "deletePhotoTip",
//         "zh": "图片删除后将无法找回，确认删除？",
//         "en": "Deleting this image will make it unrecoverable. Are you sure to delete it?"
//     },
//     {
//         "key": "rightTop",
//         "zh": "右上",
//         "en": "Upper Right"
//     },
//     {
//         "key": "leftTop",
//         "zh": "左上",
//         "en": "Upper Left"
//     },
//     {
//         "key": "centerTop",
//         "zh": "中上",
//         "en": "Upper Middle"
//     },
//     {
//         "key": "centerBottom",
//         "zh": "中下",
//         "en": "Lower Middle"
//     },
//     {
//         "key": "rightBottom",
//         "zh": "右下",
//         "en": "Lower Right"
//     },
//     {
//         "key": "leftBottom",
//         "zh": "左下",
//         "en": "Lower Left"
//     },
//     {
//         "key": "countPlaque",
//         "zh": "{num}处菌斑",
//         "en": "{num} plaque spot(s)"
//     },
//     {
//         "key": "missingDetection",
//         "zh": "漏检测",
//         "en": "Missed detection"
//     },
//     {
//         "key": "area",
//         "zh": "区域",
//         "en": "area"
//     },
//     {
//         "key": "checkReportType",
//         "zh": "口腔检测报告",
//         "en": "Oral Detection Report"
//     },
//     {
//         "key": "disclaimer",
//         "zh": "免责声明：最终解释权归MOVAhome所有",
//         "en": "Disclaimer: The final interpretation rights belong to MOVAhome."
//     },
//     {
//         "key": "plaqueDetectionScore",
//         "zh": "菌斑检测结果",
//         "en": "Plaque Detection Results"
//     },
//     {
//         "key": "plaqueQuantity",
//         "zh": "菌斑数量",
//         "en": "Number of Plaque"
//     },
//     {
//         "key": "plaqueQuantityUnit",
//         "zh": "{num}个",
//         "en": "Piece"
//     },
//     {
//         "key": "oralProblems",
//         "zh": "口腔问题",
//         "en": "Oral Issues"
//     },
//     {
//         "key": "dedicatedBrushingMode",
//         "zh": "专属刷牙模式",
//         "en": "Custom Brushing Mode"
//     },
//     {
//         "key": "download",
//         "zh": "下载",
//         "en": "Download"
//     },
//     {
//         "key": "downloading",
//         "zh": "下载中",
//         "en": "Downloading"
//     },
//     {
//         "key": "noTodayData",
//         "zh": "今日无报告，请选择其他日期",
//         "en": "No report for today. Please select another date."
//     },
//     {
//         "key": "downloadComplete",
//         "zh": "下载完成",
//         "en": "Download Completed."
//     },
//     {
//         "key": "evaluate",
//         "zh": "评估",
//         "en": "Evaluation"
//     },
//     {
//         "key": "plaqueDetectionScoreTip",
//         "zh": "结合菌斑检测结果计算出 牙齿清洁干净的分数。",
//         "en": "Calculate the score for clean teeth based on plaque detection results."
//     },
//     {
//         "key": "oralProblemsTips",
//         "zh": "菌斑护理建议",
//         "en": "Plaque Care Suggestions"
//     },
//     {
//         "key": "weeklySummaryBPrefix",
//         "zh": "多次在",
//         "en": "Heavy plaque accumulation has been frequently"
//     },
//     {
//         "key": "weeklySummaryBSuffix",
//         "zh": "{area}区域检测到大量牙菌斑，需重点关注该处牙齿清洁，避免出现蛀牙、口气、牙结石等口腔问题。",
//         "en": "detected in {area} area. Focus on cleaning this area to avoid oral problems such as cavities, bad breath, and tartar."
//     },
//     {
//         "key": "weeklySummaryC",
//         "zh": "记得定期检测牙齿牙菌斑，保护牙齿健康~",
//         "en": "Remember to regularly check for dental plaque to protect your oral health."
//     },
//     {
//         "key": "interconnectionPageTitle",
//         "zh": "牙菌斑检测仪",
//         "en": "Dental Plaque Detector"
//     },
//     {
//         "key": "not_start",
//         "zh": "未开始",
//         "en": "Not started"
//     },
//     {
//         "key": "bluetooth_connection_status",
//         "zh": "蓝牙连接状态",
//         "en": "Bluetooth Connection Status"
//     },
//     {
//         "key": "search_for_bluetooth_devices",
//         "zh": "搜索蓝牙设备：",
//         "en": "Searching for Bluetooth device:"
//     },
//     {
//         "key": "connect_bluetooth_devices:",
//         "zh": "连接蓝牙设备：",
//         "en": "Connecting to Bluetooth device:"
//     },
//     {
//         "key": "equipment_service_list:",
//         "zh": "设备服务列表：",
//         "en": "Device service list:"
//     },
//     {
//         "key": "equipment_feature_list",
//         "zh": "设备特征列表：",
//         "en": "Device feature list:"
//     },
//     {
//         "key": "enter_plugin",
//         "zh": "进入插件",
//         "en": "Enter plugin"
//     },
//     {
//         "key": "purple",
//         "zh": "亮白",
//         "en": "Whitening"
//     },
//     {
//         "key": "useExclusiveMode",
//         "zh": "使用智能模式",
//         "en": "Enable smart mode"
//     },
//     {
//         "key": "useExclusiveModeTip",
//         "zh": "已为您生成智能模式，加强{area}区域牙齿清洁。",
//         "en": "A custom smart mode has been generated for you to enhance cleaning in the {area} area."
//     },
//     {
//         "key": "photoAlbum",
//         "zh": "相册",
//         "en": "Album"
//     },
//     {
//         "key": "storageTip",
//         "zh": "相册容量为50M， 请及时保存重要照片。",
//         "en": "The album capacity is 50M. Please save important photos in time."
//     },
//     {
//         "key": "visitorMode",
//         "zh": "访客模式",
//         "en": "Guest Mode"
//     },
//     {
//         "key": "weeklySummaryD",
//         "zh": "本周牙齿健康状况良好，继续保持良好的刷牙习惯~",
//         "en": "Your teeth are in good health this week. Keep up the good brushing habits~"
//     },
//     {
//         "key": "monthlySummaryCount",
//         "zh": "本月使用牙菌斑检测仪检测了",
//         "en": "This month, the dental plaque detector has been used"
//     },
//     {
//         "key": "monthlySummaryCountUnit",
//         "zh": "{num} 次",
//         "en": "{num} time(s)."
//     },
//     {
//         "key": "monthlySummaryDCI",
//         "zh": "该月牙齿健康状况",
//         "en": "The monthly dental health status:"
//     },
//     {
//         "key": "monthlySummaryDCIGrade1",
//         "zh": "优秀",
//         "en": "Excellent"
//     },
//     {
//         "key": "monthlySummaryDCIGrade2",
//         "zh": "良好",
//         "en": "Good"
//     },
//     {
//         "key": "monthlySummaryDCIGrade3",
//         "zh": "需关注",
//         "en": "Attention needed"
//     },
//     {
//         "key": "monthlySummaryDCIGrade4",
//         "zh": "重点关注",
//         "en": "Special attention needed"
//     },
//     {
//         "key": "monthlySummaryDCIDate",
//         "zh": "是牙齿刷的最干净的一天！",
//         "en": "This is the day your teeth were the cleanest!"
//     },
//     {
//         "key": "monthlySummaryAttentionPrefix",
//         "zh": "需要重点关注",
//         "en": "Special attention should be paid"
//     },
//     {
//         "key": "monthlySummaryAttentionSuffix",
//         "zh": "区域清洁，该区域牙菌斑出现频率较高。",
//         "en": "to cleaning the {area} area, as dental plaque tends to accumulate there more frequently."
//     },
//     {
//         "key": "monthlySummaryStore",
//         "zh": "是牙菌斑堆积较多的日期。",
//         "en": "This is the date with the most plaque accumulation."
//     },
//     {
//         "key": "monthlySummaryAdvice",
//         "zh": "坚持科学刷牙，避免出现蛀牙、口气、牙结石等口腔问题。",
//         "en": "Stick to scientific brushing to avoid oral problems such as cavities, bad breath, and tartar."
//     },
//     {
//         "key": "ownerMode",
//         "zh": "主人模式",
//         "en": "Owner Mode"
//     },
//     {
//         "key": "getClear",
//         "zh": "我清楚了",
//         "en": "I understand."
//     },
//     {
//         "key": "preCheckTip",
//         "zh": "请安装硅胶套，并紧贴牙齿获取清晰图像",
//         "en": "Please install the silicone sleeve and press it firmly against your teeth to obtain a clear image."
//     },
//     {
//         "key": "plaque",
//         "zh": "菌斑",
//         "en": "Plaque"
//     },
//     {
//         "key": "startCheck",
//         "zh": "开始检测",
//         "en": "Start detection"
//     },
//     {
//         "key": "noMoreTip",
//         "zh": "不再提示",
//         "en": "Do not show this prompt again."
//     },
//     {
//         "key": "selectAreaAndStart",
//         "zh": "请选择牙齿区域，开始检测吧",
//         "en": "Please select the dental area to start detection."
//     },
//     {
//         "key": "installedAndStart",
//         "zh": "已安装，开始检测",
//         "en": "The silicone sleeve is installed. Start detection."
//     },
//     {
//         "key": "finishCheck",
//         "zh": "完成检测",
//         "en": "Detection completed."
//     },
//     {
//         "key": "pickAreaFirst",
//         "zh": "请先选择牙齿区域",
//         "en": "Please select the dental area first."
//     },
//     {
//         "key": "putDeviceAndStartCheck",
//         "zh": "请将检测仪贴近牙齿开始检测吧",
//         "en": "Please press the detector against your teeth to start detection."
//     },
//     {
//         "key": "checkingArea",
//         "zh": "正在检测{area}区域",
//         "en": "Detecting the {area} area."
//     },
//     {
//         "key": "toothFromBackToFront",
//         "zh": "请从后往前检测牙齿",
//         "en": "Please detect teeth from back to front."
//     },
//     {
//         "key": "scanOrder",
//         "zh": "依次扫描外侧面、咬合面、内侧面",
//         "en": "Scan the outer side, occlusal surface, and inner side of each tooth in sequence."
//     },
//     {
//         "key": "scanStayTime",
//         "zh": "每颗牙至少停留两秒，防止不准确",
//         "en": "Stay on each tooth for at least two seconds to prevent inaccurate results."
//     },
//     {
//         "key": "getPlaque",
//         "zh": "这里检测到菌斑",
//         "en": "Plaque detected here."
//     },
//     {
//         "key": "noProblemAndGoNextArea",
//         "zh": "如果没发现牙齿问题，就切换下一个区域吧",
//         "en": "If no dental issues are found, switch to the next area."
//     },
//     {
//         "key": "finishAndGoNextArea",
//         "zh": "若检测完当前区域，记得切换下一个区域",
//         "en": "If the current area has been detected, remember to switch to the next area."
//     },
//     {
//         "key": "finishAndGenerateReport",
//         "zh": "如检测完全部区域，点击完成检测获取检测结果",
//         "en": "After detecting all areas, tap \"Complete Detection\" to get the detection results."
//     },
//     {
//         "key": "checkTipTitle",
//         "zh": "检测过程可能会看到如下提示",
//         "en": "You may see the following prompts during detection:"
//     },
//     {
//         "key": "notFinishAndGenerateReport",
//         "zh": "还未检测{area}区域，检测结果可能不准确，是否结束?",
//         "en": "The {area} area has not been detected yet and the detection result may not be accurate. Do you want to stop?"
//     },
//     {
//         "key": "notStartAndExit",
//         "zh": "检测未开始,是否退出？",
//         "en": "Detection has not been started. Do you want to exit?"
//     },
//     {
//         "key": "notFinishAndExitTitle",
//         "zh": "检测未完成，是否退出?",
//         "en": "Detection has not been completed. Do you want to exit?"
//     },
//     {
//         "key": "notFinishAndExitSubTitle",
//         "zh": "退出后会生成检测报告，注意查收~",
//         "en": "After exiting, a detection report will be generated. Please check it."
//     },
//     {
//         "key": "lowPower",
//         "zh": "设备电量低，请充电",
//         "en": "Low battery. Please charge the device."
//     },
//     {
//         "key": "useGuideStep1",
//         "zh": "1.使用设备前请安装硅胶套，并紧贴牙齿获取清晰图像。",
//         "en": "1. Before using the device, please install the silicone sleeve and press it firmly against your teeth to obtain a clear image."
//     },
//     {
//         "key": "useGuideStep2",
//         "zh": "2.选择相应的牙齿区域，依次检测牙齿上的牙菌斑。",
//         "en": "2. Select the corresponding dental area and detect plaque on the teeth in sequence."
//     },
//     {
//         "key": "useGuideStep3",
//         "zh": "3.根据最新检测的牙菌斑结果以及清洁习惯，生成智能模式，针对性加强清洁。",
//         "en": "3. Smart mode generated based on plaque results and cleaning habits."
//     },
//     {
//         "key": "useGuideStep4",
//         "zh": "4.选择访客模式，可以给家人检测牙齿菌斑，不影响个人智能模式的生成。",
//         "en": "4. Selecting guest mode allows you to detect plaque for family members without affecting the generation of your personal mode."
//     },
//     {
//         "key": "confirmSwitch",
//         "zh": "确认切换",
//         "en": "Confirm Switching"
//     },
//     {
//         "key": "switchToOwnerMode",
//         "zh": "检测未完成，是否切换主人模式",
//         "en": "Detection has not been completed. Do you want to switch to owner mode?"
//     },
//     {
//         "key": "switchToVisitorMode",
//         "zh": "检测未完成，是否切换访客模式",
//         "en": "Detection has not been completed. Do you want to switch to guest mode?"
//     },
//     {
//         "key": "searchDevice",
//         "zh": "搜索设备",
//         "en": "Search for devices"
//     },
//     {
//         "key": "connectGuideTitle",
//         "zh": "长按2s开机自动进入配网状态",
//         "en": "Long press for 2s to power on and automatically enter the network configuration state."
//     },
//     {
//         "key": "connectGuideSubTitle",
//         "zh": "直到指示灯为紫灯常亮状态",
//         "en": "Keep pressing until the indicator light is solid purple."
//     },
//     {
//         "key": "startSearch",
//         "zh": "开始搜索",
//         "en": "Start search"
//     },
//     {
//         "key": "connectingText",
//         "zh": "长按按键2s开机，请确保设备电量充足",
//         "en": "Long press for 2s to power on. Ensure the device is sufficiently charged."
//     },
//     {
//         "key": "disconnectedAndFindReason",
//         "zh": "设备离线，检查原因>>",
//         "en": "The device is offline. Check the cause>>"
//     },
//     {
//         "key": "hint_device_no_found_check_the_surrounding_environment",
//         "zh": "请确保手机与设备之间的距离足够近，且周围网络环境没有强干扰。",
//         "en": "Please ensure the mobile phone is close enough to the device, and there is no strong interference in the surrounding network environment."
//     },
//     {
//         "key": "hint_device_no_found_check_the_location_permission",
//         "zh": "请确认APP的定位权限未被关闭。若手动关闭了应用定位权限可能会导致无法自动发现设备。",
//         "en": "Please confirm that the APP's location permission is not turned off. Manually turning off the APP's location permission may prevent the device from being automatically discovered."
//     },
//     {
//         "key": "hint_device_no_found_check_the_status_of_the_indicator_light",
//         "zh": "请确认设备指示灯处于紫灯常亮状态(长按按键5秒)，手机和设备处于同一个2.4G网络中。",
//         "en": "Confirm the device indicator is solid purple (hold the button for 5s), and ensure the phone and device are on the same 2.4G network."
//     },
//     {
//         "key": "text_no_device_was_found",
//         "zh": "未搜索到设备",
//         "en": "No devices found"
//     },
//     {
//         "key": "connecting",
//         "zh": "连接中...",
//         "en": "Connecting..."
//     },
//     {
//         "key": "deviceOnline",
//         "zh": "设备在线",
//         "en": "The device is online."
//     },
//     {
//         "key": "deviceOffline",
//         "zh": "设备离线",
//         "en": "The device is offline."
//     },
//     {
//         "key": "clickStartAndContinue",
//         "zh": "点击开始检测以继续",
//         "en": "Tap \"Start Detection\" to continue."
//     },
//     {
//         "key": "ok",
//         "zh": "好的",
//         "en": "Okay."
//     },
//     {
//         "key": "connectedAndToHomePage",
//         "zh": "设备连接成功，回到首页",
//         "en": "The device is connected successfully. Return to the home page."
//     },
//     {
//         "key": "deleteDeviceWarnWithToothbrush",
//         "zh": "删除设备后，会解除与牙刷的关联，并清空已同步到APP中的历史数据，请确认是否删除？",
//         "en": "After deleting the device, the APP will be unlinked from the toothbrush, and the historical data synchronized to the APP will be cleared. Are you sure to delete it?"
//     },
//     {
//         "key": "hereFindPlaqueGoSave",
//         "zh": "这里检测到菌斑，请拍照保存",
//         "en": "Plaque detected here. Please take a photo to save it."
//     },
//     {
//         "key": "deviceConnected",
//         "zh": "设备已连接",
//         "en": "The device is connected."
//     },
//     {
//         "key": "deviceDisconnected",
//         "zh": "设备已断开",
//         "en": "The device is disconnected."
//     },
//     {
//         "key": "manage",
//         "zh": "管理",
//         "en": "Management"
//     },
//     {
//         "key": "fourMinute",
//         "zh": "{num}分钟",
//         "en": "{num} min"
//     },
//     {
//         "key": "detectoring_area_lt",
//         "zh": "正在检测左上区域",
//         "en": "Detecting the upper left area."
//     },
//     {
//         "zh": "正在检测右上区域",
//         "en": "Detecting the upper right area."
//     },
//     {
//         "zh": "正在检测中上区域",
//         "en": "Detecting the upper middle area."
//     },
//     {
//         "zh": "正在检测左下区域",
//         "en": "Detecting the lower left area."
//     },
//     {
//         "zh": "正在检测右下区域",
//         "en": "Detecting the lower right area"
//     },
//     {
//         "zh": "正在检测中下区域",
//         "en": "Detecting the lower middle area."
//     },
//     {
//         "key": "please_take_photo",
//         "zh": "这里检测到菌斑，请拍照记录",
//         "en": "Plaque detected here. Please take a photo to record it."
//     },
//     {
//         "zh": "菌斑分布\n一测便知",
//         "en": "Heavy Plaque Display"
//     },
//     {
//         "zh": "菌斑清洁\n智能模式",
//         "en": "Smart Plaque\nCleaning"
//     },
//     {
//         "zh": "智能模式更新中",
//         "en": "Smart Mode Updating"
//     },
//     {
//         "zh": "将手机Wi-Fi切换到{name}",
//         "en": "Switch your phone's Wi-Fi to {name}"
//     },
//     {
//         "zh": "振动力度",
//         "en": "Vibration intensity"
//     },
//     {
//         "zh": "扫动角度",
//         "en": "Sweep angle"
//     },
//     {
//         "zh": "扫动速度",
//         "en": "Sweep speed"
//     },
//     {
//         "key": "show_send_smart_success_dialog_content",
//         "zh": "依据最新菌斑检测结果，已为您生成智能菌斑清洁模式。",
//         "en": "Based on the latest plaque detection results, a smart plaque cleaning mode has been generated for you."
//     },
//     {
//         "key": "update_intelligent_mode",
//         "zh": "更新智能模式",
//         "en": "Update smart mode"
//     },
//     {
//         "key": "overvoltage_reminder",
//         "zh": "过压提醒",
//         "en": "Overpressure warning"
//     },
//     {
//         "key": "overvoltage_reminder_tips",
//         "zh": "刷牙压力过大时，提醒减轻力度",
//         "en": "When brushing pressure is too high, you will be reminded to reduce pressure."
//     },
//     {
//         "key": "brush_brushing_completion_reminder",
//         "zh": "已刷干净提醒",
//         "en": "Clean completion reminder"
//     },
//     {
//         "key": "brush_brushing_completion_reminder_tips",
//         "zh": "刷牙完成并清洁干净时，提醒已刷干净",
//         "en": "When brushing is completed and thoroughly cleaned, you will be reminded that cleaning is finished."
//     },
//     {
//         "zh": "您的口腔菌斑控制优秀，请继续保持！",
//         "en": "Your oral plaque control is excellent, please keep it up!"
//     },
//     {
//         "zh": "潜在风险提示",
//         "en": "Potential risk alerts"
//     },
//     {
//         "zh": "龈沟、牙邻接面等隐蔽区域仍可能存在微量菌斑",
//         "en": "Trace amounts of plaque may still exist in hidden areas such as gingival sulcus and interproximal surfaces."
//     },
//     {
//         "zh": "高糖饮食或牙缝清洁不良可能加速菌斑再生",
//         "en": "High-sugar diet or poor interdental cleaning may accelerate plaque regeneration."
//     },
//     {
//         "zh": "专业护理建议",
//         "en": "Professional care recommendations"
//     },
//     {
//         "zh": "每2周使用1次MOVA牙菌斑智能检测，追踪菌斑变化",
//         "en": "Use MOVA intelligent plaque detection once every 2 weeks to track plaque changes."
//     },
//     {
//         "zh": "使用牙刷智能模式：每日{num1}次，每次{num2}分钟，提示菌斑多的区域重点清洁",
//         "en": "Use toothbrush smart mode: {num1} times daily and {num2} minutes each time, with focused cleaning reminders for areas with more plaque"
//     },
//     {
//         "zh": "使用牙缝清洁工具（如牙线）",
//         "en": "Use interdental cleaning tools (such as dental floss)."
//     },
//     {
//         "zh": "口腔清洁基本有效，需针对性改进！",
//         "en": "Oral cleaning is basically effective, but targeted improvements are needed!"
//     },
//     {
//         "zh": "未清洁位点可能引发牙龈轻微炎症",
//         "en": "Uncleaned sites may cause mild gingival inflammation."
//     },
//     {
//         "zh": "长期菌斑堆积，有早期牙石形成风险",
//         "en": "Long-term plaque accumulation poses a risk of early calculus formation."
//     },
//     {
//         "zh": "每周{num}次MOVA牙菌斑智能检测，追踪菌斑变化",
//         "en": "Use MOVA intelligent plaque detection {num} times per week to track plaque changes."
//     },
//     {
//         "zh": "使用牙缝清洁工具（如牙线）",
//         "en": "Use interdental cleaning tools (such as dental floss)."
//     },
//     {
//         "zh": "注意！多区菌斑堆积，存在牙龈炎、牙周炎及活跃性龋损风险！",
//         "en": "Attention! Multi-area plaque accumulation poses risks of gingivitis, periodontitis, and active carious lesions!"
//     },
//     {
//         "zh": "未有效清洁可能引发牙龈红肿、出血、萎缩等",
//         "en": "Ineffective cleaning may cause gingival redness and swelling, bleeding, recession, etc."
//     },
//     {
//         "zh": "菌斑矿化风险显著升高（易形成牙结石）",
//         "en": "Plaque mineralization risk significantly increased (prone to dental calculus formation)."
//     },
//     {
//         "zh": "使用牙缝清洁工具（如牙线、牙缝刷等）",
//         "en": "Use interdental cleaning tools (such as dental floss, interdental brush, etc.)"
//     },
//     {
//         "zh": "每3-6个月至牙科医院行专业洁治，必要时行龈下刮治",
//         "en": "Visit dental clinic for professional cleaning every 3-6 months, and perform subgingival scaling if necessary."
//     },
//     {
//         "zh": "警报！广泛性菌斑覆盖，牙周炎及活跃性龋损高风险状态！",
//         "en": "Alert! Widespread plaque coverage may cause high-risk state for periodontitis and active carious lesions!"
//     },
//     {
//         "zh": "易出现牙龈红肿、自发性出血，甚至牙齿松动，龋病活跃度极高",
//         "en": "Prone to gingival redness and swelling, spontaneous bleeding, even tooth mobility, with extremely high caries activity"
//     },
//     {
//         "zh": "系统性健康威胁",
//         "en": "Systemic health threat"
//     },
//     {
//         "zh": "使用牙缝清洁工具（如牙线、牙缝刷等）",
//         "en": "Use interdental cleaning tools (such as dental floss, interdental brush, etc.)"
//     },
//     {
//         "zh": "每3个月至牙科医院行专业洁治，并行牙周专科检查，必要时行龈下刮治",
//         "en": "Visit dental clinic for professional cleaning every 3 months with periodontal examination, and perform subgingival scaling if necessary."
//     },
//     {
//         "key": "connectGuideSubTitle",
//         "zh": "（长按按键）\n直到指示灯为紫色闪烁状态",
//         "en": "(Press and hold button,)\nUntil indicator light flashes purple."
//     },
//     {
//         "key": "hint_device_no_found_check_the_status_of_the_indicator_light",
//         "zh": "若设备未绑定，请确保设备指示灯处于紫色闪烁状态，手机和设备处于同一个2.4G网络中。",
//         "en": "If device is not bound, ensure device indicator light is flashing purple and both phone and device are on the same 2.4 G network."
//     },
//     {
//         "zh": "若手机热点或Wi-Fi账号、密码更换",
//         "en": "If mobile hotspot or Wi-Fi account/password has changed,"
//     },
//     {
//         "zh": "重新配网>>",
//         "en": "Reconfigure network >>"
//     },
//     {
//         "zh": "设备连接异常，请重新连接",
//         "en": "Abnormal device connection, please reconnect."
//     },
//     {
//         "zh": "设备连接成功，回到首页",
//         "en": "The device is connected successfully. Return to the home page."
//     },
//     {
//         "zh": "1/6进度提醒",
//         "en": "1/6 progress reminder"
//     },
//     {
//         "zh": "刷牙时每完成1/6强震动提醒1次",
//         "en": "Strong vibration reminder once every 1/6 completion during brushing"
//     },
//     {
//         "zh": "30秒进度提醒",
//         "en": "30-second progress reminder"
//     },
//     {
//         "key": "changeZoneReminderTips",
//         "zh": "刷牙时每隔30秒进行强震动提醒1次",
//         "en": "Strong vibration reminder once every 30 seconds during brushing."
//     },
//     {
//         "zh": "工作中牙刷离口，牙刷微震防止水溅射",
//         "en": "The toothbrush will perform micro-vibration prevents water splashing when it leaves mouth during operation."
//     },
//     {
//         "zh": "开机前3秒，牙刷微震防止水溅射",
//         "en": "Micro-vibration for first 3 seconds after power-on to prevent water splashing"
//     },
//     {
//         "key": "pleaseChargingDevice",
//         "zh": "固件更新需确保设备处在充电状态",
//         "en": "Firmware update requires device to be in charging status."
//     },
//     {
//         "zh": "陈晓川",
//         "en": "Xiaochuan Chen"
//     },
//     {
//         "zh": "医师",
//         "en": "Physician"
//     },
//     {
//         "zh": "中山大学口腔医学博士",
//         "en": "Doctor of Stomatological Medicine from Sun Yat-sen University"
//     },
//     {
//         "zh": "三甲口腔专科医院主治医师",
//         "en": "Grade A tertiary oral hospital attending physician"
//     },
//     {
//         "zh": "中华口腔医学会会员、牙周专科会员",
//         "en": "Member of Chinese Stomatological Association, and member of periodontal specialty"
//     },
//     {
//         "zh": "此报告牙菌斑评分方法以及口腔防护建议是与陈晓川医师共创",
//         "en": "This report’s dental plaque scoring method and oral care recommendations were co-created with Dr. Xiaochuan Chen."
//     },
//     {
//         "key": "toothbrush_has_been_reset_title",
//         "zh": "牙刷已重置",
//         "en": "Toothbrush has been reset."
//     },
//     {
//         "key": "toothbrush_has_been_reset_content",
//         "zh": "APP同步删除设备卡片",
//         "en": "APP synchronously deletes device card."
//     }
// ]



// const en = require('./en.json')

// const new_en = {}

// for (const key in en) {
//     new_en[key]=en[key]
//     arr.forEach((item, index) => {

//         if (item.key === key) {
//             new_en[key] = item["en"]
//         }

//     })

// }

// console.log(JSON.stringify(new_en));


const obj = {
    "policyTitle": "隐私政策",
    "aiMode": "AI模式",
    "intelligence_tips": "菌斑数据同步至牙刷，智能识别齿区，加强菌斑较多区域清洁",
    "intelligence_tips_1": "根据每周清洁不足区域，智能加强清洁",
    "plaqueDetection": "菌斑检测情况",
    "exclusiveMode": "专属模式",
    "unbindSuccess": "解绑成功",
    "countDental": "处龋齿",
    "scoreUnit": "分",
    "oralProblemsJump": "去牙刷设备页更新智能模式>>",
    "plugin_version": "插件版本",
    "updating_intelligent_mode": "智能模式更新中...",
    "smart_mode": "智能模式",
    "show_send_smart_success_dialog_btn": "我知道了",
    "auto_update_smart": "自动更新智能模式",
    "auto_update_smart_tips": "牙刷连接蓝牙后自动更新智能模式。",
    "no_plaque_tips": "当前没有菌斑检测报告，无法更新智能模式",
    "toothbrush_has_been_reset_confirm": "确定"
}

const xlsx = require('xlsx');

// 读取Excel文件
function readExcel(filePath, sheetName) {
    const workbook = xlsx.readFile(filePath);
    const worksheet = workbook.Sheets[sheetName || workbook.SheetNames[0]];
    return xlsx.utils.sheet_to_json(worksheet);
}

const data = readExcel('./1.xlsx', "2501牙刷插件");

const new_obj={}

for (const key in obj) {

    data.forEach((item, index) => {

        if (item["中文"]===obj[key]) {
            new_obj[key]=item["key"]
        }

    })

}